package com.ms.education.ucenter.service.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>Project:education-CourseFeignService
 * <p>Powered by ms on 2023-03-02 10:11:51
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
@Component
@FeignClient(value = "service-course")
public interface CourseFeignService {

    @GetMapping("/course/class/getClassUserIds/{classId}")
    public List<Integer> getClassUserIds(@PathVariable("classId") Integer classId);

}
